listi = []
for x in range(0, 10):
	listi.append(int(input()))

for x in range(9, -1, -1):
	print(listi[x])
